package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退货记录表(Refund)表实体类
 *
 * @author makejava
 * @since 2021-02-22 17:48:30
 */
@SuppressWarnings("serial")
public class Refund extends Model<Refund> {
    //退货记录编号
    @TableId(type = IdType.ASSIGN_ID)
    private String refId;
    //申请时间
    private Date refAppliyTime;
    //退货原因
    private String refReason;
    //相关图片
    private String refImages;
    //退货订单ID
    private String orderId;
    //退货状态 1 待处理 2 退货中  3 已完成 4 已拒绝
    private Integer refState;
    //问题描述
    private String refDes;
    //退款金额
    private BigDecimal money;

    //商品id
    private String proId;


    private Integer cusId;

    private Integer storeId;
    private String cusName;
    private Date opTime;

    public Date getOpTime() {
        return opTime;
    }

    public void setOpTime(Date opTime) {
        this.opTime = opTime;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusTel() {
        return cusTel;
    }

    public void setCusTel(String cusTel) {
        this.cusTel = cusTel;
    }

    private String cusTel;


    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }




    public String getRefId() {
        return refId;
    }

    public void setRefId(String refId) {
        this.refId = refId;
    }

    public Date getRefAppliyTime() {
        return refAppliyTime;
    }

    public void setRefAppliyTime(Date refAppliyTime) {
        this.refAppliyTime = refAppliyTime;
    }

    public String getRefReason() {
        return refReason;
    }

    public void setRefReason(String refReason) {
        this.refReason = refReason;
    }

    public String getRefImages() {
        return refImages;
    }

    public void setRefImages(String refImages) {
        this.refImages = refImages;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getRefState() {
        return refState;
    }

    public void setRefState(Integer refState) {
        this.refState = refState;
    }

    public String getRefDes() {
        return refDes;
    }

    public void setRefDes(String refDes) {
        this.refDes = refDes;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.refId;
    }
}